<form action="jms/stock/saveSub" method="post"
	  class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)">
	<input type="hidden"  name="stock.type"  value="-1">
	<input type="hidden"  name="stock.oid"  value="${(oid)!}">
	<input type="hidden"  name="stock.mid"  value="${(mid)!}">


	<div class="pageContent">
		<div class="pageFormContent" layoutH="97">
			<fieldset>
				<legend>选择项目</legend>
				<dl class="nowrap">
					<dt>项目名称：</dt>
					<dd>
						<input  name="stock.pid" value="" type="hidden"/>
						<input class="required" name="stock.name" type="text" disabled="true"/>
						<a class="btnLook" href="jms/stock/lookupProject" lookupGroup="stock">查找</a>
					</dd>
				</dl>

			</fieldset>
<!--
			<fieldset>
				<legend>仓库查询</legend>
				<dl class="nowrap">
					<dt>订单号：</dt>
					<dd>

						<input class="required" name="stock.oid" type="text" readonly="readonly"/>
						<a class="btnLook" href="jms/stock/lookupStock" lookupGroup="stock">查找</a>
					</dd>
				</dl>

				<dl class="nowrap">
					<dt>物料编号：</dt>
					<dd>
						<input class="required" name="stock.mid"  type="text" readonly="readonly"/>
					</dd>
				</dl>

				<dl class="nowrap">
					<dt>总数量：</dt>
					<dd>
						<input  name="stock.maxNum" readonly="readonly" type="text" disabled="true"/>
					</dd>
				</dl>

			</fieldset>
-->
			<fieldset>
				<legend>录入领料信息</legend>

				<dl class="nowrap">
					<dt>数量：</dt>
					<dd>
						<input class="required" name="stock.quantity" max="${(maxNum)!}" type="text"/>
						<span class="info">总数量：${(maxNum)!}</span>
					</dd>
				</dl>

				<dl class="nowrap">
					<dt>施工单位：</dt>
					<dd>
						<input  name="stock.buildUnit"  type="text"/>
					</dd>
				</dl>

			</fieldset>
		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button class="close" type="button">关闭</button></div></div></li>
			</ul>
		</div>
	</div>
</form>
